package com.zkzx.company.base.mapper;

import com.zkzx.company.base.mapper.entity.CompanyTruck;
import com.zkzx.company.base.mapper.entity.CompanyTruckExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CompanyTruckMapper {
    long countByExample(CompanyTruckExample example);

    int deleteByExample(CompanyTruckExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CompanyTruck record);

    int insertSelective(CompanyTruck record);

    List<CompanyTruck> selectByExample(CompanyTruckExample example);

    CompanyTruck selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CompanyTruck record, @Param("example") CompanyTruckExample example);

    int updateByExample(@Param("record") CompanyTruck record, @Param("example") CompanyTruckExample example);

    int updateByPrimaryKeySelective(CompanyTruck record);

    int updateByPrimaryKey(CompanyTruck record);
}